package cn.tedu.bonfire.admin.account.dao.persist.mapper;

import cn.tedu.bonfire.admin.account.pojo.entity.UserAndRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;


public interface UserAndRoleMapper extends BaseMapper<UserAndRole> {

    int updateRoleIdByUserId(Long userId,Long roleId);

    int updateUserDescriptionByUserId(Long userId,String description);
}
